body {
    font-family: 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: #fff;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.back-button {
    padding: 10px 20px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
}

.back-button:active {
    transform: translateY(0);
}

.money-display {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.money-display h2 {
    color: #ffd700;
    margin: 0;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 50px;
    position: relative;
    z-index: 1;
}

/* 技能弹窗 */
.skill-info {
    position: absolute;
    bottom: 10px; /* 显示在卡片上方 */
    left: 0;
    width: auto;
    max-height: 600px; /* 限制最大高度 */
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 15px;
    border-radius: 8px;
    opacity: 0; /* 初始透明 */
    visibility: hidden; /* 初始隐藏 */
    transform: translateY(20px); /* 初始位移 */
    transition: all 0.3s ease;
    font-size: 0.8em;
}

/* 悬停时显示弹窗 */
.card:hover .skill-info {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* 复位动画 */
}

/* 弹窗箭头装饰 */
/* .skill-info::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    border: 10px solid transparent;
    border-top-color: rgba(0,0,0,0.9);
    transform: translateX(-50%);
} */

/* 内容弹性布局 */
.skill-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    white-space: normal; /* 允许自动换行 */
}